Skip to content

Conversation

@lenaic
Copy link

@lenaic lenaic commented Nov 8, 2025

Summary:
With opacity being initialized to NaN for text attributes, not having the NaN check would mean adding the opacity prop to the Props 2.0 diff output even when it was unchanged and still set to NaN

Changelog: [Internal]

Differential Revision: D86577389

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 8, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 8, 2025

@lenaic has exported this pull request. If you are a Meta employee, you can view the originating Diff in D86577389.

lenaic pushed a commit to lenaic/react-native-macos that referenced this pull request Nov 8, 2025
Summary:

With `opacity` being initialized to NaN for text attributes, not having the NaN check would mean adding the `opacity` prop to the Props 2.0 diff output even when it was unchanged and still set to NaN

Changelog: [Internal]

Differential Revision: D86577389
lenaic pushed a commit to lenaic/react-native-macos that referenced this pull request Nov 10, 2025
Summary:

With `opacity` being initialized to NaN for text attributes, not having the NaN check would mean adding the `opacity` prop to the Props 2.0 diff output even when it was unchanged and still set to NaN

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D86577389
lenaic pushed a commit to lenaic/react-native-macos that referenced this pull request Nov 10, 2025
Summary:

With `opacity` being initialized to NaN for text attributes, not having the NaN check would mean adding the `opacity` prop to the Props 2.0 diff output even when it was unchanged and still set to NaN

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D86577389
Summary:

With `opacity` being initialized to NaN for text attributes, not having the NaN check would mean adding the `opacity` prop to the Props 2.0 diff output even when it was unchanged and still set to NaN

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D86577389
lenaic pushed a commit to lenaic/react-native-macos that referenced this pull request Nov 10, 2025
Summary:

With `opacity` being initialized to NaN for text attributes, not having the NaN check would mean adding the `opacity` prop to the Props 2.0 diff output even when it was unchanged and still set to NaN

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D86577389
@meta-codesync meta-codesync bot closed this in a7dc9db Nov 11, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 11, 2025

This pull request has been merged in a7dc9db.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Nov 11, 2025
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by Nick Lefever in a7dc9db

When will my fix make it into a release? | How to file a pick request?

douglowder pushed a commit to react-native-tvos/react-native-tvos that referenced this pull request Nov 15, 2025
Summary:
Pull Request resolved: facebook/react-native#54462

With `opacity` being initialized to NaN for text attributes, not having the NaN check would mean adding the `opacity` prop to the Props 2.0 diff output even when it was unchanged and still set to NaN

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D86577389

fbshipit-source-id: d0277aaa19b6b5418fa25c9a986c3d4cddb7696f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants